// 函数没有返回值的时候，void

const sayHi = (info: string): void => {
  console.log(info);
  // return 'xxx'
};

const add = (): undefined => {
  // 此处返回 undefined
  return undefined;
};
